import './assets/main.css'
import 'nprogress/nprogress.css' //这个样式必须引入
import 'element-plus/dist/index.css'
import './styles/index.scss'
import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

const app = createApp(App)

//svg配置代码
import 'virtual:svg-icons-register'

import globalComponent from '@/components/index.ts'

app.use (globalComponent)

app.use(createPinia())
app.use(router)

app.mount('#app')
